package Lesson17;

public class Zoo {

	public static void main(String[] args) 
	{
		Animal animal = new Animal();
		animal.weight = 30;
		System.out.println(animal.age);

		Cat cat = new Cat();
	
		Dog dog = new Dog();
		
		Tiger tiger = new Tiger();	
		
		System.out.println("Cat age =" + cat.age);
		System.out.println("Cat moustashe = " + cat.catMoustashe);
		
		System.out.println("Tiger age =" + tiger.age);
		System.out.println("Tiger moustashe = " + tiger.catMoustashe);
		
		Zoo zoo = new Zoo();
		System.out.println(zoo.equals(tiger));

	}

}
